<form action="<?php echo WebRoot; ?>register.php" method="post">
  <fieldset>
    <legend><?php echo T_("Registration");?></legend>
  <div>
    <label for="registerEmail"><?php echo T_('E-Mail:'); ?></label>
    <input type="text" id="registerEmail" name="register[email]" value="<?php echo (isset($_POST['register']['email']) ? $_POST['register']['email'] : ''); ?>" />
      <img id="registerEmailLoading" src ="<?php echo WebRoot; ?>/themes/<?php echo $theme; ?>/images/loading.gif" alt="loading" />
      <span id="registerEmailResult"></span><br />
    
    <label for="formDisplayName"><?php echo T_('Display Name:'); ?></label>
    <input type="text" id="formDisplayName" name="register[dname]" value="<?php echo (isset($_POST['register']['dname']) ? $_POST['register']['dname'] : ''); ?>" />
      <img id="formDisplayNameLoading" src ="<?php echo WebRoot; ?>/themes/<?php echo $theme; ?>/images/loading.gif" alt="loading" />
      <span id="formDisplayNameResult"></span><br />
    
    <label for="registerPassword"><?php echo T_('Password:'); ?></label>
    <input type="password" id="registerPassword" name="register[password]" value="" />
      <span id="registerPasswordResult"></span><br />    
    
    
    <input type="submit" name="register[submit]" value="<?php echo T_('Register');?>"/>
  </div>
  </fieldset>  
</form>